const request = (options) => {
  return new Promise((resolve) => {
    wx.request({
      ...options,
      success: (response) => {
        resolve(response.data);
      }
    })
  })
}
export default request